package com.forezp.thinking.chapter9;

import com.forezp.thinking.chapter8.Instruct;

/**
 * Created by forezp on 2017/12/1.
 */
public class DotThis {


    void f() {
        System.out.println("DotThis f()");
    }

    class Innner {
        public DotThis ouuter() {
            return DotThis.this;
        }
    }

    Innner innner() {
        return new Innner();
    }

    public static void main(String[] args) {
        DotThis dotThis = new DotThis();
        Innner innner = dotThis.innner();
        innner.ouuter().f();
    }
}
